package cn.springmvc.dao;

import cn.springmvc.model.Step5;
import cn.springmvc.model.Step5Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Step5Mapper {
    int countByExample(Step5Example example);

    int deleteByExample(Step5Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(Step5 record);

    int insertSelective(Step5 record);

    List<Step5> selectByExample(Step5Example example);

    Step5 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Step5 record, @Param("example") Step5Example example);

    int updateByExample(@Param("record") Step5 record, @Param("example") Step5Example example);

    int updateByPrimaryKeySelective(Step5 record);

    int updateByPrimaryKey(Step5 record);
    
    List<Step5> getStep5ByNianfen(@Param("year")int year);
    Step5 getStep5ByNameAndNianfen(@Param("year")int year,@Param("name")String name);
}